

// 全局的组件注册  过滤器  自定义指令 

import Vue from "vue"

import MyFoot from "@/components/Foot.vue"
import MyHead from "@/components/myHead.vue"
import Search from "@/components/search.vue"
import Searchs from "@/components/searchs.vue"
import NewList from "@/components/new-list.vue"



Vue.component("MyFoot",MyFoot)
Vue.component("MyHead",MyHead)
Vue.component("Search",Search)
Vue.component("NewList",NewList)
Vue.component("Searchs",Searchs)

// Vue.component("MySwipe",MySwipe)
// Vue.component("MySwipeItem",MySwipeItem)

// import  moment from  "moment"


// Vue.filter("dataFormat",(value,type)=>{
//     if(!value) return value;
//     return moment(value*1000).format(type)
// })

